[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Assembly: NEsper (in NEsper.dll)
Adds an element with the provided key and value to the IDictionary<(Of TKey, TValue>).
Namespace: net.esper.compat
Assembly: NEsper (in NEsper.dll)
Syntax
| Visual Basic (Declaration) |
|---|
Public Sub Add ( _ key As K, _ value As V _ ) |
| C# |
|---|
public void Add ( K key, V value ) |
| Visual C++ |
|---|
public: virtual void Add ( K key, V value ) sealed |
Parameters
- key
- K type parameter of net.esper.compat.LinkedDictionary<(Of K, V>).
The object to use as the key of the element to add.
- value
- V type parameter of net.esper.compat.LinkedDictionary<(Of K, V>).
The object to use as the value of the element to add.
Exceptions
| Exception | Condition |
|---|---|
| System.NotSupportedException | The IDictionary<(Of TKey, TValue>) is read-only. |
| System.ArgumentException | An element with the same key already exists in the IDictionary<(Of TKey, TValue>). |
| System.ArgumentNullException | key is null. |